<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport"
		content="width=device-width, initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.12/lib/index.css" />

	<!-- 引入 Vue 和 Vant 的 JS 文件 -->
	<script src="https://cdn.jsdelivr.net/npm/vue@2.6/dist/vue.min.js"></script>
	<script src="https://cdn.jsdelivr.net/npm/vant@2.12/lib/vant.min.js"></script>
	<!-- vue ajax -->
	<script src="https://cdn.staticfile.org/axios/0.18.0/axios.min.js"></script>
	<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
	<script src="/o2o/js/utils.js"></script>

	<title>店铺管理</title>
	<style>
	</style>
</head>
<body>
<div id="app">
	<!-- 头部导航 -->
	<van-nav-bar title="店铺管理"></van-nav-bar>
	<van-cell>
		<van-button type="primary" style="color:#fff;background-color: #1989fa">商品管理</van-button>
		<van-button type="primary" style="color:#fff;background-color: #1989fa" @click="toEditShop">店铺信息</van-button>
		<van-button type="primary" style="color:#fff;background-color: #1989fa" @click="toProductCategoryList">类别管理</van-button>
	</van-cell>
	<van-cell>
		<van-button type="danger" block @click="onClickBack">返回</van-button>
	</van-cell>
</div>

</body>

<script>

//获取shopId参数
let shopId = getQueryVariable("shopId");

var app = new Vue({
				el: '#app',
				data:{
					
				},
				methods:{
					// 返回按钮
					onClickBack: function () {
						window.history.back();
					},
					// 店铺信息
					toEditShop: function(){
						window.location.href = "/o2o/shopadmin/editshop?shopId=" + shopId;
					},
					// 商品类别
					toProductCategoryList:function(){
						window.location.href = "/o2o/shopadmin/listproductcategory?shopId=" + shopId;
					}
				}
			});

</script>

</html>